#pragma once
#include "resource.h"

// _GraphPropertiesAppearance dialog
class _GraphControl;
class _GraphPropertiesAppearance : public CDialogEx
{
        DECLARE_DYNAMIC(_GraphPropertiesAppearance)

    public:
        _GraphPropertiesAppearance(CWnd* pParent = NULL);   // standard constructor
        virtual ~_GraphPropertiesAppearance();

        // Dialog Data
        enum { IDD = IDD_FLEX_GRAPH_PROPERTIES_APPEARANCE };

    protected:
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

        DECLARE_MESSAGE_MAP()
    public:
        CListBox m_ListGraph;
        int m_GraphControlHandle;
        afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
        _GraphControl* m_pGraphControl;
        void setGraphControlHandle(int Handle)
        {
            m_GraphControlHandle = Handle;
        }
        CButton m_CheckVisible;
        CMFCColorButton m_CtrlPointColor;
        CMFCColorButton m_CtrlLineColor;
        afx_msg void OnSelchangeGraphList();
        afx_msg void OnClickedColorctrlline();
        afx_msg void OnClickedColorctrlpoint();
        afx_msg void OnClickedCheckVisible();
        virtual void OnCancel();
        virtual void OnOK();
        afx_msg void OnSelchangeComboPointSize();
        CComboBox m_ComboPointSize;

        afx_msg void OnBnClickedButtonRemove();
        afx_msg void OnBnClickedCheckScatter();
        CButton m_CheckScatter;
        CEdit m_EditGraphTitle;
        void updateGraphList();
        afx_msg void OnEnChangeEditGraphtitle();
        afx_msg void OnBnClickedButtonExport();
};
